/**
 * A builder bean for testing puposes.
 * Usefull to "mimic" bulder patterns
 * buildBean -> Create Bean created a detached bean
 * createBeanInstance -> Created an attached instance.
 * @author josecanovamauger.
 *
 */

package org.nanotek.tests.hibernate;

import org.nanotek.Base;
import org.nanotek.util.BeanReflectorBuilder;

public abstract class SpringBaseBuilder implements BeanReflectorBuilder<String ,Base<?>>,  ApplicationContextAware{

	protected ApplicationContext ctx;

	public SpringBaseBuilder() {
	}

	@Override
	public void setApplicationContext(ApplicationContext arg0)
			throws BeansException {
		this.ctx = arg0;
	}

}
